package cn.mapper;

import cn.entity.WorkOrder;
import org.apache.ibatis.annotations.SelectProvider;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface WorkOrderMapper extends Mapper<WorkOrder> {

    @SelectProvider(type = WorkOrderProvider.class,method = "selectPage")
    List<WorkOrder> selectPage(Map<String,Object> map);

    @SelectProvider(type = WorkOrderProvider.class,method = "showDetail")
    Map<String,Object> showDetail(Long id);
}